
<template id="abelian-isAbelian-template">
    <p>${Group.name} is <a href="./help/rf-groupterms/index.html#abelian-group">abelian</a>;
        every pair of elements commutes.</p>
</template>

<template id="abelian-isNonAbelian-template">
    <p>${Group.name} is not <a href="./help/rf-groupterms/index.html#abelian-group">abelian</a>.
        We can find two elements that do not commute:
        ${Group.representation[i]} ⋅ ${Group.representation[j]} =
        ${Group.representation[Group.multtable[i][j]]}, but
        ${Group.representation[j]} ⋅ ${Group.representation[i]} =
        ${Group.representation[Group.multtable[j][i]]}.</p>
</template>

<template id="abelian-gap-compute-template">
    <button class="gap-compute" style="grid-column: content / end; margin-left: 1em;"
            data-action="ShowGAPCode.setup('checking if a group is abelian', Group)">Compute this in GAP</button>
</template>
